package com.anket.person.dao;
 
import com.anket.address.model.Address;
import com.anket.option.model.Option;
import com.anket.person.model.Person;
import com.anket.poll.model.Poll;

 
public interface PersonDao{
	
	void addPerson(Person person);
	void deletePerson(Person person);
	void updatePerson(Person person);
	Person getPersonById(Integer id);
	boolean isPersonAdmin(Person person);
	Person isloginTrue(String email,String password);
	Address prepareAddress(Address address);
	
	void addPoll(Poll poll);

	void addOption(Option option);
	
 
}